package com.freak.kotlinfitnessserver.room

import androidx.room.Entity
import androidx.room.PrimaryKey

@Entity(tableName = "deviceInfo")
data class DeviceInfoData(
    @PrimaryKey(autoGenerate = true)
    val id: Int = 0,
    val deviceType: String,
    val unlockCode: String,
    val systemId: String,
    val modelNumber: String,
    val serialNumber: String,
    val firmwareRevision: String,
    val hardwareRevision: String,
    val softwareRevision: String,
    val manufacturerName: String
) {
    override fun toString(): String {
        return "DeviceInfoData(id=$id, deviceType='$deviceType', unlockCode='$unlockCode', systemId='$systemId', modelNumber='$modelNumber', serialNumber='$serialNumber', firmwareRevision='$firmwareRevision', hardwareRevision='$hardwareRevision', softwareRevision='$softwareRevision', manufacturerName='$manufacturerName')"
    }
}